using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Metro.Admin.BusinessEntities;

namespace Metro.Admin.Services
{
    public interface IAdminService
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "5#")]
        ICollection<Parameter> GetParameters(string type);
        void UpdateParameter(Parameter parameter);
        void CreateParameter(Parameter parameter);
        void DeleteParameter(Parameter parameter);
        List<Country> GetCountries();
        void CreateCountry(Country country);
        void UpdateCountry(Country country);
        void DeleteCountry(Country country);
        void UpdateCity(City city);
        void CreateCity(City city, string idCountry);
        void DeleteCity(City city);
        ICollection<City> GetCities();
        void UpdateCustomer(Customer customer);
        void CreateCustomer(Customer customer);
        void DeleteCustomer(Customer customer);
        List<Customer> GetCustomers();
        List<User> GetUsers();
        void UpdateUser(User user);
        void CreateUser(User user);
        void DeleteUser(User user);
        List<Credit> GetCredits();
        void DeleteCredit(Credit credit);
        void CreateCredit(Credit credit);

    }
}
